# 生成随机密码
import random

chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@$#%"
password = random.sample(chars,8)
passwordStr = "".join(password)
print("随机密码", passwordStr)
